package com.rc.saas.tenant.service.printer;

import com.github.pagehelper.PageInfo;
import com.rc.saas.tenant.base.BaseService;
import com.rc.saas.tenant.mapper.printer.ElecPrinterRecordMapper;
import com.rc.saas.tenant.model.printer.ElecPrinterRecord;
import com.rc.saas.tenant.model.printer.ElecPrinterRecordExample;
import com.rc.saas.tenant.vo.elecPrinter.ElecPrinterRecordResultVo;
import com.rc.saas.tenant.vo.elecPrinter.ElecPrinterRecordSearch;
import com.rc.saas.tenant.vo.printer.PrinterRecordSearch;

import java.util.List;

/**
 * Create by Yang on 2021/7/28
 */
public interface ElecPrinterRecordService extends BaseService<Long, ElecPrinterRecord, ElecPrinterRecordExample, ElecPrinterRecordMapper> {

    PageInfo<ElecPrinterRecord> selectPageBySearch(PrinterRecordSearch search, int pageNum, int pageSize);

    List<ElecPrinterRecord> selectPageBySearchSize(PrinterRecordSearch search);

    void updatePrintCountById(Long id);

    PageInfo<ElecPrinterRecordResultVo> listPageElecPrinterRecord(ElecPrinterRecordSearch elecPrinterRecordVO);

    List<ElecPrinterRecordResultVo> exportElecPrinterRecord(ElecPrinterRecordSearch elecPrinterRecordVO);

}
